package com.qh.yyxt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qh.yyxt.entity.DelayThing;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DelayThingMapper extends BaseMapper<DelayThingMapper>
{
    //增
    public int add(DelayThing delayThing);
    //查by id
    public DelayThing findById(int id);
    //查by fid
    public DelayThing findByFid(int fid);
    //查所有的
    public List<DelayThing> findAll();
    //改
    public int update(DelayThing delayThing);
}
